package com.smartcaliper.login;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.smartcaliper.R;
import com.smartcaliper.base.BaseActivity;
import com.smartcaliper.view.ClearEditText;
import com.smartcaliper.view.TitleView;

import butterknife.Bind;
import butterknife.ButterKnife;

public class RegisterActivity extends BaseActivity {

    @Bind(R.id.account_edit)
    ClearEditText accountEdit;
    @Bind(R.id.code_edit)
    ClearEditText codeEdit;
    @Bind(R.id.pwd_edit)
    ClearEditText pwdEdit;
    @Bind(R.id.login_btn)
    Button loginBtn;
    @Bind(R.id.titleView)
    TitleView mTitleView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        ButterKnife.bind(this);
        mTitleView.setTitle(getString(R.string.signup));
        mTitleView.setBackListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }
}
